#pragma once
class CSmartDocBase;
class CCustomEditCtrl;
class CSmartViewBase :public CView
{
	DECLARE_DYNCREATE(CSmartViewBase)
public:
	CSmartViewBase(void);
	~CSmartViewBase(void);
public:
	virtual void OnDraw(CDC* pDC);
	CDocument* GetDocument()
	{
		return (CDocument *)m_pDocument;
	}
protected:
	CCustomEditCtrl*	m_pEdit;
public:
	CSmartDocBase * m_pDocument;
	CCustomEditCtrl*	m_pWndEditCtrl;
	DECLARE_MESSAGE_MAP()
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
public:
//	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
};

